\(\int \frac {c+d x+e x^2+f x^3+g x^4}{(a+b x^3)^{3/2}} \, dx\) [67]

   Optimal result
   Rubi [A] (verified)
   Mathematica [C] (verified)
   Maple [A] (verified)
   Fricas [C] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 32, antiderivative size = 594 \[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=\frac {2 x \left (b c-a f+(b d-a g) x+b e x^2\right )}{3 a b \sqrt {a+b x^3}}-\frac {2 e \sqrt {a+b x^3}}{3 a b}-\frac {2 (b d-4 a g) \sqrt {a+b x^3}}{3 a b^{5/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {\sqrt {2-\sqrt {3}} (b d-4 a g) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} a^{2/3} b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}+\frac {2 \sqrt {2+\sqrt {3}} \left (\sqrt [3]{b} (b c+2 a f)+\left (1-\sqrt {3}\right ) \sqrt [3]{a} (b d-4 a g)\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right ),-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} a b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}} \]

[Out]

2/3*x*(b*c-a*f+(-a*g+b*d)*x+b*e*x^2)/a/b/(b*x^3+a)^(1/2)-2/3*e*(b*x^3+a)^(1/2)/a/b-2/3*(-4*a*g+b*d)*(b*x^3+a)^
(1/2)/a/b^(5/3)/(b^(1/3)*x+a^(1/3)*(1+3^(1/2)))+1/3*(-4*a*g+b*d)*(a^(1/3)+b^(1/3)*x)*EllipticE((b^(1/3)*x+a^(1
/3)*(1-3^(1/2)))/(b^(1/3)*x+a^(1/3)*(1+3^(1/2))),I*3^(1/2)+2*I)*(1/2*6^(1/2)-1/2*2^(1/2))*((a^(2/3)-a^(1/3)*b^
(1/3)*x+b^(2/3)*x^2)/(b^(1/3)*x+a^(1/3)*(1+3^(1/2)))^2)^(1/2)*3^(1/4)/a^(2/3)/b^(5/3)/(b*x^3+a)^(1/2)/(a^(1/3)
*(a^(1/3)+b^(1/3)*x)/(b^(1/3)*x+a^(1/3)*(1+3^(1/2)))^2)^(1/2)+2/9*(a^(1/3)+b^(1/3)*x)*EllipticF((b^(1/3)*x+a^(
1/3)*(1-3^(1/2)))/(b^(1/3)*x+a^(1/3)*(1+3^(1/2))),I*3^(1/2)+2*I)*(b^(1/3)*(2*a*f+b*c)+a^(1/3)*(-4*a*g+b*d)*(1-
3^(1/2)))*(1/2*6^(1/2)+1/2*2^(1/2))*((a^(2/3)-a^(1/3)*b^(1/3)*x+b^(2/3)*x^2)/(b^(1/3)*x+a^(1/3)*(1+3^(1/2)))^2
)^(1/2)*3^(3/4)/a/b^(5/3)/(b*x^3+a)^(1/2)/(a^(1/3)*(a^(1/3)+b^(1/3)*x)/(b^(1/3)*x+a^(1/3)*(1+3^(1/2)))^2)^(1/2
)

Rubi [A] (verified)

Time = 0.30 (sec) , antiderivative size = 594, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {1872, 1900, 267, 1892, 224, 1891} \[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=\frac {2 \sqrt {2+\sqrt {3}} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right ),-7-4 \sqrt {3}\right ) \left (\sqrt [3]{b} (2 a f+b c)+\left (1-\sqrt {3}\right ) \sqrt [3]{a} (b d-4 a g)\right )}{3 \sqrt [4]{3} a b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}+\frac {\sqrt {2-\sqrt {3}} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} (b d-4 a g) E\left (\arcsin \left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} a^{2/3} b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {2 \sqrt {a+b x^3} (b d-4 a g)}{3 a b^{5/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {2 x \left (x (b d-a g)-a f+b c+b e x^2\right )}{3 a b \sqrt {a+b x^3}}-\frac {2 e \sqrt {a+b x^3}}{3 a b} \]

[In]

Int[(c + d*x + e*x^2 + f*x^3 + g*x^4)/(a + b*x^3)^(3/2),x]

[Out]

(2*x*(b*c - a*f + (b*d - a*g)*x + b*e*x^2))/(3*a*b*Sqrt[a + b*x^3]) - (2*e*Sqrt[a + b*x^3])/(3*a*b) - (2*(b*d
- 4*a*g)*Sqrt[a + b*x^3])/(3*a*b^(5/3)*((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)) + (Sqrt[2 - Sqrt[3]]*(b*d - 4*a*g)
*(a^(1/3) + b^(1/3)*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]
*EllipticE[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(
3^(3/4)*a^(2/3)*b^(5/3)*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a + b
*x^3]) + (2*Sqrt[2 + Sqrt[3]]*(b^(1/3)*(b*c + 2*a*f) + (1 - Sqrt[3])*a^(1/3)*(b*d - 4*a*g))*(a^(1/3) + b^(1/3)
*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*EllipticF[ArcSin[(
(1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(3*3^(1/4)*a*b^(5/3)
*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a + b*x^3])

Rule 224

Int[1/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, Simp[2*Sqrt
[2 + Sqrt[3]]*(s + r*x)*(Sqrt[(s^2 - r*s*x + r^2*x^2)/((1 + Sqrt[3])*s + r*x)^2]/(3^(1/4)*r*Sqrt[a + b*x^3]*Sq
rt[s*((s + r*x)/((1 + Sqrt[3])*s + r*x)^2)]))*EllipticF[ArcSin[((1 - Sqrt[3])*s + r*x)/((1 + Sqrt[3])*s + r*x)
], -7 - 4*Sqrt[3]], x]] /; FreeQ[{a, b}, x] && PosQ[a]

Rule 267

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a + b*x^n)^(p + 1)/(b*n*(p + 1)), x] /; FreeQ
[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]

Rule 1872

Int[(Pq_)*((a_) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> With[{q = Expon[Pq, x]}, Module[{Q = PolynomialQuotient
[b^(Floor[(q - 1)/n] + 1)*Pq, a + b*x^n, x], R = PolynomialRemainder[b^(Floor[(q - 1)/n] + 1)*Pq, a + b*x^n, x
]}, Dist[1/(a*n*(p + 1)*b^(Floor[(q - 1)/n] + 1)), Int[(a + b*x^n)^(p + 1)*ExpandToSum[a*n*(p + 1)*Q + n*(p +
1)*R + D[x*R, x], x], x], x] + Simp[(-x)*R*((a + b*x^n)^(p + 1)/(a*n*(p + 1)*b^(Floor[(q - 1)/n] + 1))), x]] /
; GeQ[q, n]] /; FreeQ[{a, b}, x] && PolyQ[Pq, x] && IGtQ[n, 0] && LtQ[p, -1]

Rule 1891

Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Simplify[(1 - Sqrt[3])*(d/c)]]
, s = Denom[Simplify[(1 - Sqrt[3])*(d/c)]]}, Simp[2*d*s^3*(Sqrt[a + b*x^3]/(a*r^2*((1 + Sqrt[3])*s + r*x))), x
] - Simp[3^(1/4)*Sqrt[2 - Sqrt[3]]*d*s*(s + r*x)*(Sqrt[(s^2 - r*s*x + r^2*x^2)/((1 + Sqrt[3])*s + r*x)^2]/(r^2
*Sqrt[a + b*x^3]*Sqrt[s*((s + r*x)/((1 + Sqrt[3])*s + r*x)^2)]))*EllipticE[ArcSin[((1 - Sqrt[3])*s + r*x)/((1
+ Sqrt[3])*s + r*x)], -7 - 4*Sqrt[3]], x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && EqQ[b*c^3 - 2*(5 - 3*Sqrt[3
])*a*d^3, 0]

Rule 1892

Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a,
 3]]}, Dist[(c*r - (1 - Sqrt[3])*d*s)/r, Int[1/Sqrt[a + b*x^3], x], x] + Dist[d/r, Int[((1 - Sqrt[3])*s + r*x)
/Sqrt[a + b*x^3], x], x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && NeQ[b*c^3 - 2*(5 - 3*Sqrt[3])*a*d^3, 0]

Rule 1900

Int[(Pq_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[Coeff[Pq, x, n - 1], Int[x^(n - 1)*(a + b*x^n)^p, x
], x] + Int[ExpandToSum[Pq - Coeff[Pq, x, n - 1]*x^(n - 1), x]*(a + b*x^n)^p, x] /; FreeQ[{a, b, p}, x] && Pol
yQ[Pq, x] && IGtQ[n, 0] && Expon[Pq, x] == n - 1

Rubi steps \begin{align*} \text {integral}& = \frac {2 x \left (b c-a f+(b d-a g) x+b e x^2\right )}{3 a b \sqrt {a+b x^3}}-\frac {2 \int \frac {-\frac {1}{2} b (b c+2 a f)+\frac {1}{2} b (b d-4 a g) x+\frac {3}{2} b^2 e x^2}{\sqrt {a+b x^3}} \, dx}{3 a b^2} \\ & = \frac {2 x \left (b c-a f+(b d-a g) x+b e x^2\right )}{3 a b \sqrt {a+b x^3}}-\frac {2 \int \frac {-\frac {1}{2} b (b c+2 a f)+\frac {1}{2} b (b d-4 a g) x}{\sqrt {a+b x^3}} \, dx}{3 a b^2}-\frac {e \int \frac {x^2}{\sqrt {a+b x^3}} \, dx}{a} \\ & = \frac {2 x \left (b c-a f+(b d-a g) x+b e x^2\right )}{3 a b \sqrt {a+b x^3}}-\frac {2 e \sqrt {a+b x^3}}{3 a b}-\frac {(b d-4 a g) \int \frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\sqrt {a+b x^3}} \, dx}{3 a b^{4/3}}+\frac {\left (\sqrt [3]{b} (b c+2 a f)+\left (1-\sqrt {3}\right ) \sqrt [3]{a} (b d-4 a g)\right ) \int \frac {1}{\sqrt {a+b x^3}} \, dx}{3 a b^{4/3}} \\ & = \frac {2 x \left (b c-a f+(b d-a g) x+b e x^2\right )}{3 a b \sqrt {a+b x^3}}-\frac {2 e \sqrt {a+b x^3}}{3 a b}-\frac {2 (b d-4 a g) \sqrt {a+b x^3}}{3 a b^{5/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {\sqrt {2-\sqrt {3}} (b d-4 a g) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} a^{2/3} b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}+\frac {2 \sqrt {2+\sqrt {3}} \left (\sqrt [3]{b} (b c+2 a f)+\left (1-\sqrt {3}\right ) \sqrt [3]{a} (b d-4 a g)\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} a b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}} \\ \end{align*}

Mathematica [C] (verified)

Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.

Time = 10.13 (sec) , antiderivative size = 130, normalized size of antiderivative = 0.22 \[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=\frac {4 b c x-4 a (e+x (f-3 g x))+2 (b c+2 a f) x \sqrt {1+\frac {b x^3}{a}} \operatorname {Hypergeometric2F1}\left (\frac {1}{3},\frac {1}{2},\frac {4}{3},-\frac {b x^3}{a}\right )+3 (b d-4 a g) x^2 \sqrt {1+\frac {b x^3}{a}} \operatorname {Hypergeometric2F1}\left (\frac {2}{3},\frac {3}{2},\frac {5}{3},-\frac {b x^3}{a}\right )}{6 a b \sqrt {a+b x^3}} \]

[In]

Integrate[(c + d*x + e*x^2 + f*x^3 + g*x^4)/(a + b*x^3)^(3/2),x]

[Out]

(4*b*c*x - 4*a*(e + x*(f - 3*g*x)) + 2*(b*c + 2*a*f)*x*Sqrt[1 + (b*x^3)/a]*Hypergeometric2F1[1/3, 1/2, 4/3, -(
(b*x^3)/a)] + 3*(b*d - 4*a*g)*x^2*Sqrt[1 + (b*x^3)/a]*Hypergeometric2F1[2/3, 3/2, 5/3, -((b*x^3)/a)])/(6*a*b*S
qrt[a + b*x^3])

Maple [A] (verified)

Time = 1.54 (sec) , antiderivative size = 821, normalized size of antiderivative = 1.38

method result size
elliptic \(\text {Expression too large to display}\) \(821\)
default \(\text {Expression too large to display}\) \(1547\)

[In]

int((g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^3+a)^(3/2),x,method=_RETURNVERBOSE)

[Out]

-2*b*(1/3*(a*g-b*d)/a/b^2*x^2+1/3*(a*f-b*c)/b^2/a*x+1/3*e/b^2)/((x^3+a/b)*b)^(1/2)-2/3*I*(f/b-1/3*(a*f-b*c)/a/
b)*3^(1/2)/b*(-a*b^2)^(1/3)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3
))^(1/2)*((x-1/b*(-a*b^2)^(1/3))/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2)*(-I*(x+1/2/b*(-
a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2)/(b*x^3+a)^(1/2)*EllipticF(1/3*3^(
1/2)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2),(I*3^(1/2)/b*(
-a*b^2)^(1/3)/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2))-2/3*I*(g/b+1/3*(a*g-b*d)/a/b)*3^(
1/2)/b*(-a*b^2)^(1/3)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/
2)*((x-1/b*(-a*b^2)^(1/3))/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2)*(-I*(x+1/2/b*(-a*b^2)
^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2)/(b*x^3+a)^(1/2)*((-3/2/b*(-a*b^2)^(1/3)
+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*EllipticE(1/3*3^(1/2)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b*(-a*b^2)^(1/
3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2),(I*3^(1/2)/b*(-a*b^2)^(1/3)/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2
)^(1/3)))^(1/2))+1/b*(-a*b^2)^(1/3)*EllipticF(1/3*3^(1/2)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b*(-a*b^2)^
(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2),(I*3^(1/2)/b*(-a*b^2)^(1/3)/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*
b^2)^(1/3)))^(1/2)))

Fricas [C] (verification not implemented)

Result contains higher order function than in optimal. Order 9 vs. order 4.

Time = 0.17 (sec) , antiderivative size = 153, normalized size of antiderivative = 0.26 \[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=\frac {2 \, {\left ({\left ({\left (b^{2} c + 2 \, a b f\right )} x^{3} + a b c + 2 \, a^{2} f\right )} \sqrt {b} {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right ) + {\left ({\left (b^{2} d - 4 \, a b g\right )} x^{3} + a b d - 4 \, a^{2} g\right )} \sqrt {b} {\rm weierstrassZeta}\left (0, -\frac {4 \, a}{b}, {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right )\right ) - \sqrt {b x^{3} + a} {\left (a b e - {\left (b^{2} d - a b g\right )} x^{2} - {\left (b^{2} c - a b f\right )} x\right )}\right )}}{3 \, {\left (a b^{3} x^{3} + a^{2} b^{2}\right )}} \]

[In]

integrate((g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^3+a)^(3/2),x, algorithm="fricas")

[Out]

2/3*(((b^2*c + 2*a*b*f)*x^3 + a*b*c + 2*a^2*f)*sqrt(b)*weierstrassPInverse(0, -4*a/b, x) + ((b^2*d - 4*a*b*g)*
x^3 + a*b*d - 4*a^2*g)*sqrt(b)*weierstrassZeta(0, -4*a/b, weierstrassPInverse(0, -4*a/b, x)) - sqrt(b*x^3 + a)
*(a*b*e - (b^2*d - a*b*g)*x^2 - (b^2*c - a*b*f)*x))/(a*b^3*x^3 + a^2*b^2)

Sympy [A] (verification not implemented)

Time = 5.19 (sec) , antiderivative size = 189, normalized size of antiderivative = 0.32 \[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=e \left (\begin {cases} - \frac {2}{3 b \sqrt {a + b x^{3}}} & \text {for}\: b \neq 0 \\\frac {x^{3}}{3 a^{\frac {3}{2}}} & \text {otherwise} \end {cases}\right ) + \frac {c x \Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{3}, \frac {3}{2} \\ \frac {4}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 a^{\frac {3}{2}} \Gamma \left (\frac {4}{3}\right )} + \frac {d x^{2} \Gamma \left (\frac {2}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {2}{3}, \frac {3}{2} \\ \frac {5}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 a^{\frac {3}{2}} \Gamma \left (\frac {5}{3}\right )} + \frac {f x^{4} \Gamma \left (\frac {4}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {4}{3}, \frac {3}{2} \\ \frac {7}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 a^{\frac {3}{2}} \Gamma \left (\frac {7}{3}\right )} + \frac {g x^{5} \Gamma \left (\frac {5}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {3}{2}, \frac {5}{3} \\ \frac {8}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 a^{\frac {3}{2}} \Gamma \left (\frac {8}{3}\right )} \]

[In]

integrate((g*x**4+f*x**3+e*x**2+d*x+c)/(b*x**3+a)**(3/2),x)

[Out]

e*Piecewise((-2/(3*b*sqrt(a + b*x**3)), Ne(b, 0)), (x**3/(3*a**(3/2)), True)) + c*x*gamma(1/3)*hyper((1/3, 3/2
), (4/3,), b*x**3*exp_polar(I*pi)/a)/(3*a**(3/2)*gamma(4/3)) + d*x**2*gamma(2/3)*hyper((2/3, 3/2), (5/3,), b*x
**3*exp_polar(I*pi)/a)/(3*a**(3/2)*gamma(5/3)) + f*x**4*gamma(4/3)*hyper((4/3, 3/2), (7/3,), b*x**3*exp_polar(
I*pi)/a)/(3*a**(3/2)*gamma(7/3)) + g*x**5*gamma(5/3)*hyper((3/2, 5/3), (8/3,), b*x**3*exp_polar(I*pi)/a)/(3*a*
*(3/2)*gamma(8/3))

Maxima [F]

\[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=\int { \frac {g x^{4} + f x^{3} + e x^{2} + d x + c}{{\left (b x^{3} + a\right )}^{\frac {3}{2}}} \,d x } \]

[In]

integrate((g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^3+a)^(3/2),x, algorithm="maxima")

[Out]

integrate((g*x^4 + f*x^3 + e*x^2 + d*x + c)/(b*x^3 + a)^(3/2), x)

Giac [F]

\[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=\int { \frac {g x^{4} + f x^{3} + e x^{2} + d x + c}{{\left (b x^{3} + a\right )}^{\frac {3}{2}}} \,d x } \]

[In]

integrate((g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^3+a)^(3/2),x, algorithm="giac")

[Out]

integrate((g*x^4 + f*x^3 + e*x^2 + d*x + c)/(b*x^3 + a)^(3/2), x)

Mupad [F(-1)]

Timed out. \[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=\int \frac {g\,x^4+f\,x^3+e\,x^2+d\,x+c}{{\left (b\,x^3+a\right )}^{3/2}} \,d x \]

[In]

int((c + d*x + e*x^2 + f*x^3 + g*x^4)/(a + b*x^3)^(3/2),x)

[Out]

int((c + d*x + e*x^2 + f*x^3 + g*x^4)/(a + b*x^3)^(3/2), x)